#ifndef _2D5P_H
#define _2D5P_H

#include "slave.h"
#include "simd.h"
#include "aceMesh_runtime.h"

typedef struct{
  int starti, endi;
  int startj, endj;
  int iter;
  void* src_addr;
}__attribute__((aligned(256)))targs;

#define min(x,y) (((x)<(y))?(x):(y))

//black row, is simpler than black col
#define BLACK 4

#define PEROW 8
#define PECOL 8

#endif
